<template>
  <div class="jifen">
    积分商城
      <nine-ul>
        <nine-li>
      积分
      {{this.isHeader}}
        </nine-li>
      </nine-ul>
      <div style="height:800px;">  1</div>
  </div>
</template>

<script>
import { mapState } from "vuex";
import nineUl from "../modul/nineUl.vue";
import nineLi from "../modul/nineLi.vue";
export default {
  name: "jifen",
  components: {
    nineUl,
    nineLi
  },
  data() {
    return {};
  },
  mounted() {
    this.$store.state.isHeader = false;
  },
  destroyed() {
    this.$store.state.isHeader = true;
    console.log('离开')
  },
  computed: {
    ...mapState({
      isHeader: "isHeader"
    })
  }
};
</script>

<style scoped lang="less">
</style>

